package org.smile.playground;

public class Multiple {
    public static void main(String[] args) {
        int i = 1;
        int j = 1;
        while (i < 10) {
            while (j <= i) {
//                if (j==1) {
//                    System.out.print(j + "*" + i + "=" + i * j + " ");
//                } else {
//                    System.out.format("%d*%d=%2d ", j, i, i * j);
//                }
                System.out.format("%d*%d=%d ", j, i, i * j);
                j++;
            }
            j = 1;
            System.out.println();
            i++;
        }
    }
}
